﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace Possan.Graphics.Filters
{
	/// <summary>
	/// A bitmap filter
	/// </summary>
	public interface IBaseFilter
	{
		/// <summary>
		/// Returns the parameter definition, could have been done thru reflection but i think a embedded xml-definition is faster, can return null if no definition is available
		/// </summary>
		string ParameterDefinition { get; }

		/// <summary>
		/// Apply filter, 
		/// </summary>
		/// <param name="input">Input bitmap</param>
		/// <returns>Modified bitmap</returns>
		Bitmap Filter(Bitmap input);
	}
}
